<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>购物车</title>
	<meta http-equiv="pragma" content="no-cache">  
    <meta http-equiv="cache-control" content="no-cache">  
    <meta http-equiv="expires" content="0">      
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">  
    <meta http-equiv="description" content="This is my page"> 
    <style type="text/css">
    	fieldset {
    		border: 1px solid #eee;
    	}
    	.part-line {
    		border: 1px solid #eee;
    		margin-top: 30px;
    		margin-bottom: 30px;
    		padding: 5px;
    		color: red;
    	}
    </style>
</head>
<body>
	<fieldset>
		<legend>添加购物车</legend>
		<!-- enctype 默认是 application/x-www-form-urlencoded -->  
	    <form action="order/saveTrolley" method="post" >
	               客户端编号：<input type="text" id="clientCode" name="clientCode" value="ios" /> <br/>  
	               <!-- 通行证编号：<input type="text" id="passId" name="passId" value="888" /> <span style="color: red;">*</span><br/> -->
	               <!-- 
					[{'worksName':'框画-A','worksSize':'300X500','worksPrice':10.21,'worksTypeCode':'huangkuang','worksShape':'实木框','worksColor':'红色','worksSize':'500X600','worksQuantity':2,'skuCode':'A01K02','materialId':'123456','worksClientCode':'默认为ios','worksChannelCode':'渠道编号，默认为arton','materialEdit':[{'materialId':'000001','materialIndex':1,'x':10,'y':20,'width':100,'height':150,'rotate':90,'scale':1.5},{'materialId':'000002','materialIndex':2,'x':20,'y':10,'width':110,'height':250,'rotate':100,'scale':2.0}]},{'worksName':'海报-B','worksSize':'750X600','worksPrice':12.34,'worksTypeCode':'haibao','worksQuantity':3,'worksShape':'原木框','worksColor':'橙色','worksSize':'500X600','skuCode':'B03009','materialId':'123456','worksClientCode':'默认为ios','worksChannelCode':'渠道编号，默认为arton','materialEdit':[{'materialId':'000021','materialIndex':1,'x':30,'y':50,'width':50,'height':100,'rotate':10,'scale':0.5},{'materialId':'000022','materialIndex':2,'x':30,'y':150,'width':150,'height':200,'rotate':20,'scale':1.5},{'materialId':'000023','materialIndex':3,'x':30,'y':250,'width':250,'height':300,'rotate':30,'scale':2.5}]}]
	                -->  
	               参数：
				<textarea rows="20" cols="150" id="worksJSONObject" name="worksJSONObject">
					{'passportId':888,'worksName':'框画-A','worksPrice':10.21,'worksTypeCode':'huangkuang','worksShape':'实木框','worksColor':'红色','worksSize':'500X600','worksQuantity':2,'skuCode':'A01K02','materialId':'123456','worksClientCode':'默认为ios','worksChannelCode':'渠道编号，默认为arton','materialEdit':[{'materialId':'000001','materialIndex':1,'x':10,'y':20,'width':100,'height':150,'rotate':90,'scale':1.5},{'materialId':'000002','materialIndex':2,'x':20,'y':10,'width':110,'height':250,'rotate':100,'scale':2.0}]}
	            </textarea> 
	            <span style="color: red;">*</span><br/>  
	            
				<input type="submit" value="提交"/>
	     </form> 
	</fieldset>
	
	<div class="part-line"></div>
	<fieldset>
		<legend>批量从【购物车】中删除【作品】</legend>
 		<form action="trolleyDetail/batchUpdateTrolleyDetailStatus/888" method="post" >
                          <!-- 通行证编号：<input type="text" id="passportId" name="passportId" value="888" /> <span style="color: red;">*</span><br/> -->  
			作品IDs：<input type="text" id="ids" name="ids" value="a671fd44d54c46f5ba1fb215e1f81909,6835c0efab6c43f292e14570b5b65a44" style="width: 1000px;" /> <span style="color: red;">*</span><br/> 
			<input type="submit" value="提交"/>
   		</form>
	</fieldset>

	<div class="part-line"></div>
	<fieldset>
		<legend>加购物车详情</legend>
 		<form action="trolleyDetail/saveTrolleyDetail" method="post" >
			通行证编号：<input type="text" id="passportId" name="passportId" value="10000030" /> <span style="color: red;">*</span><br/>  
			作品ID：<input type="text" id="worksId" name="worksId" value="950651f526e44d1ca30757004ae21faf" style="width: 200px;" /> <span style="color: red;">*</span><br/> 
			作品数量：<input type="text" id="quantity" name="quantity" value="2" /> <span style="color: red;">*</span><br/> 
			SKU 编号：<input type="text" id="skuCode" name="skuCode" value="A03S03" /> <span style="color: red;">*</span><br/> 
			渠道编号：<input type="text" id="channelCode" name="channelCode" value="artron" /><br/> 
			客户端编号：<input type="text" id="clientCode" name="clientCode" value="ios" /><br/> 
			<input type="submit" value="提交"/>
   		</form>
	</fieldset>
	
	<div class="part-line"></div>
	
    <div class="part-line">备注：含红星的为必填项。</div>
</body>
</html>